package com.zx.web.entity;

import java.io.Serializable;

import javax.persistence.Entity;
import javax.persistence.Table;
import javax.persistence.Id;
import javax.persistence.Column;
import javax.persistence.GeneratedValue;
import javax.persistence.GenerationType;

/**
 * Entity：字典表 [engine:InnoDB,type:BASE TABLE,catalog:def,schema:file,name:sys_dict,auto:50].
 * @author Ken
 * @since 2017-04-23 22:41
 * @version v1.0.0
 */
@Entity
@Table(name = "sys_dict")
public class SysDict implements Serializable {

    private static final long serialVersionUID = 1L;

    /** */
    @Id
    @GeneratedValue(strategy = GenerationType.IDENTITY)
    @Column(name = "id")
    private Integer id;// ,key:PRI,null:NO,type:int,charset:,default: ,maxLen:

    /** 键分类*/
    @Column(name = "dict_type")
    private String dictType;// 键分类,key:MUL,null:NO,type:varchar,charset:utf8,default: ,maxLen:100

    /** 键key*/
    @Column(name = "dict_key")
    private String dictKey;// 键key,key:,null:NO,type:varchar,charset:utf8,default: ,maxLen:100

    /** 键Value*/
    @Column(name = "dict_value")
    private String dictValue;// 键Value,key:,null:NO,type:varchar,charset:utf8,default: ,maxLen:100

    // @Transient
    // private Object transientFiled;

    public SysDict() {}

    /**
     * 获取.
     */
    public Integer getId() {
        return this.id;
    }

    /**
     * 设置.
     */
    public void setId(Integer id) {
        this.id = id;
    }

    /**
     * 获取键分类.
     */
    public String getDictType() {
        return this.dictType;
    }

    /**
     * 设置键分类.
     */
    public void setDictType(String dictType) {
        this.dictType = dictType;
    }

    /**
     * 获取键key.
     */
    public String getDictKey() {
        return this.dictKey;
    }

    /**
     * 设置键key.
     */
    public void setDictKey(String dictKey) {
        this.dictKey = dictKey;
    }

    /**
     * 获取键Value.
     */
    public String getDictValue() {
        return this.dictValue;
    }

    /**
     * 设置键Value.
     */
    public void setDictValue(String dictValue) {
        this.dictValue = dictValue;
    }
}
